package cn.ac.jaas.ljx.spring.aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = 
				new AnnotationConfigApplicationContext(AwareConfig.class);
		
		DemoAwareService awareService = context.getBean(DemoAwareService.class);
		awareService.printResult();
		
		context.close();
	}
}
